package io.github.lee.jel.global.di.database

import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import io.github.lee.jel.dao.JellyfinSessionDao
import io.github.lee.jel.domain.po.JellyfinSession

@Database(entities = [JellyfinSession::class], exportSchema = false, version = 1)
@TypeConverters(DateConverter::class)
abstract class JellyfinDatabase : RoomDatabase() {
    abstract fun jellyfinServerDao(): JellyfinSessionDao
}